package org.springextensions.actionscript.ioc.factory.config
{
	import org.springextensions.actionscript.utils.Assert;
	
	public class RuntimeResourceReference implements IResourceReference
	{
		private var _resourceName:String = "";
		
		/**
	     * Creates a new RuntimeObjectReference.
	     */
	    public function RuntimeResourceReference(resourceName:String) {
	      Assert.notNull(resourceName, "The resource name must not be null");
	      Assert.hasText(resourceName, "The resource name must have text");
	      _resourceName = resourceName;
	    }
	
	    public function get resourceName():String {
	      return _resourceName;
	    }
		
	}
}